package com.ahdms.es.exceptions;

/**
 * 签名值验签异常
 * @author qinxiang
 * @date 2021-04-13 13:30
 */
public class InvalidSignedValueException extends VerifyException {

    private String reason;
    private Integer code;



    public InvalidSignedValueException(String reason) {
        super("电子签章数据失效：" + reason);
        this.reason = reason;
    }

    public InvalidSignedValueException(String reason, Throwable cause) {
        super("电子签章数据失效：" + reason, cause);
        this.reason = reason;
    }

    public void setReason(String reason) {
        this.reason = reason;
    }

    public Integer getCode() {
        return this.code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getReason() {
        return this.reason;
    }

}
